#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT(mainsvr, 1.0)
AC_CONFIG_SRCDIR(mainctrl.cpp)
AM_INIT_AUTOMAKE(mainsvr, 1.0)

${CXXFLAGS="-Wall -Werror -g"}
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([stdlib.h sys/time.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_SIZE_T

# Checks for library functions.
AC_CHECK_FUNCS([atexit gettimeofday memset])

AC_OUTPUT([Makefile obj/Makefile])
